package yanglao.com.yanglao;



import android.view.View;
import android.widget.Button;

import org.kymjs.kjframe.KJActivity;
import org.kymjs.kjframe.ui.BindView;
import org.kymjs.kjframe.ui.ViewInject;


public class MainActivity extends KJActivity {

    @BindView(id = R.id.bt_axdl,click = true)
    private Button btAxdl;

    @Override
    public void setRootView() {
        setContentView(R.layout.activity_main);
    }

    @Override
    public void initWidget() {
        super.initWidget();
    }

    @Override
    public void widgetClick(View v) {
        super.widgetClick(v);
        switch (v.getId()){
            case R.id.bt_axdl:
                ViewInject.toast(this,"点击了");
                break;
        }
    }
}
